//
//  WCIAlertView.h
//  WCImApp
//
//  Created by WCImApp on 2018/12/12.
//  Copyright © 2018 WCImApp. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MOAlertModel.h"

typedef NS_ENUM(NSInteger, MOAlertType) {
    /*
     *  类似系统，默认
     */
    MOAlertTypeDefault,
    /*
     *  群公告
     */
    MOAlertTypeGroupBulletin,
    /*
     *  待开发提示
     */
    MOAlertTypeWaitingDevelop,
    /*
     *  待开发提示
     */
    MOAlertTypeLoginOut,
    /*
     *  问候好友
     */
    MOAlertTypeGreetingsToFriends,
    /*
     *  充值
     */
    MOAlertTypeRecharge
};

@interface WCIAlertView : UIView

@property (nonatomic, assign) NSTextAlignment textAlignment;
@property (nonatomic, copy) void(^callBackToRefuse)(void);
@property (nonatomic, copy) void(^callBackToAgree)(void);
@property (nonatomic, copy) void(^callBackToOk)(void);
//发送按钮点击事件回调
@property (nonatomic, copy) void(^callBackToSend)(NSString *greetingsString);
//关闭按钮点击时间回调
@property (nonatomic, copy) void(^callBackToClose)(void);
/**
 标题
 */
@property (nonatomic, strong) UILabel *titleLab;

//初始化
- (instancetype)initWithAlertType:(MOAlertType)alertType;
//内容更新
- (void)updateContentWithModel:(MOAlertModel *)model;

- (void)enableTapGes;

- (void)show;
- (void)hidden;

@end
